package org.footito.android.data;

import java.util.ArrayList;
import java.util.GregorianCalendar;

public class Status {
	private ArrayList<Comment> commentsList;
	private long id;
	private Team team;
	private String timestamp;
	private String content;
	private String link;
	private GregorianCalendar insertionTime;
	private long positiveLike;
	private long negativeLike;

	public Status(long id, Team team, String timestamp, String content, String link,
			GregorianCalendar insertiontime, long positiveLike, long negativeLike) {
		commentsList = new ArrayList<Comment>();
		this.id = id;
		this.team = team;
		this.timestamp = timestamp;
		this.content = content;
		this.link = link;
		this.positiveLike = positiveLike;
		this.negativeLike = negativeLike;
	}

	public void addComment(Comment comment) {
		commentsList.add(comment);
	}

	public final ArrayList<Comment> getComments() {
		return commentsList;
	}

	public String getContent() {
		return content;
	}

	public long getId() {
		return id;
	}

	public GregorianCalendar getInsertionTime() {
		return insertionTime;
	}

	public String getLink() {
		return link;
	}

	public Team getTeam() {
		return team;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public long getPositiveLike() {
		return positiveLike;
	}

	public void setPositiveLike(long positiveLike) {
		this.positiveLike = positiveLike;
	}

	public long getNegativeLike() {
		return negativeLike;
	}

	public void setNegativeLike(long negativeLike) {
		this.negativeLike = negativeLike;
	}

}
